<template>
    <div class="good" >
        <div class="imgBox">
            <img src="" alt="">
        </div>
        <div class="text">
            <div class="name">{{item.name}}</div>
            <div class="price">¥{{item.price}}</div>
        </div>
    </div>
</template>

<script>
export default {
    inject:['tabs','currentIndex']

}
</script>

<style>
    .good{
        display: flex;
        margin: 10px 0;
    }
    .list .good .imgBox{
        width: 80px;
        margin-right: 10px;
    }
    .list .good .imgBox img{
        width: 100%;
    }

</style>